package beer.xz.beer.device.data.api

import beer.xz.beer.device.data.product.SimpleProductData
import retrofit2.http.GET
import retrofit2.http.Query

interface ProductApi {
    @GET("product/queryPrice")
    suspend fun queryProductWithPrice(
        @Query("code") code: String,
        @Query("productId") productId: String
    ): ResultData<SimpleProductData>
}

